<div class="feedbackBox">
    <div class="hd">
        <div class="title">
            用户名{{data.mobile}},<span class="font14">已记录反馈{{data.resultData.totalCount}}次</span>
        </div>
        <div class="info">
            <span>服务反馈共{{data.serverfbCount}}次{{if data.serverfbCount > 0}} , 反馈项有:{{/if}}</span><span style="color: orange;">{{each data.serverfb as data index}}{{if index!=0}},{{/if}}{{data.eval_option_name}} {{/each}}</span>
        </div>
        <div class="info">
            <span>不喜欢产品反馈共{{data.productfbCount}}次{{if data.productfbCount > 0}} , 反馈项有:{{/if}}</span><span  style="color: orange;">{{each data.productfb as data index}}{{if index!=0}},{{/if}}{{data.eval_option_name}} {{/each}}</span>
        </div>
    </div>
    <div class="bd">
            <table class="fm-feedback-table">
            	<col width="20%"></col>
            	<col width="60%"></col>
            	<col width="20%"></col>
                <thead>
                    <tr>
                        <th>回访时间</th>
                        <th>备注</th>
                        <th>
                            <button class="btn btn-primary addFeedback">添加反馈</button>
                        </th>
                    </tr>
                </thead>
                <tbody>
                	{{if isEmpty(data.resultData) || isEmpty(data.resultData.records)}}
                	<tr>
                	<td colspan="3">无数据</td>
                	</tr>
                	{{else}}
                    {{each data.resultData.records as data index}}
                    <tr>
                        <td>{{dateFormat(data.add_time,'yyyy-MM-dd')}}</td>
                        <td>{{if data.eval_content==''}}无{{else}}{{data.eval_content}}{{/if}}</td>
                        <td><button class="btn btn-default historyFeedback" data-id="{{data.id}}" data-time="{{data.add_time}}">查看</button></td>
                    </tr>
                    {{/each}}
                    {{/if}}
                    <!-- 
                    <tr>
                        <td>2016-11-12</td>
                        <td>辣椒换西红柿</td>
                        <td><button class="btn btn-default" data-toggle="modal" data-target="#historyFeedback">查看</button></td>
                    </tr>
                    <tr>
                        <td>2016-11-12</td>
                        <td>辣椒换西红柿</td>
                        <td><button class="btn btn-default" data-toggle="modal" data-target="#historyFeedback">查看</button></td>
                    </tr>
                    <tr>
                        <td>2016-11-12</td>
                        <td>辣椒换西红柿</td>
                        <td><button class="btn btn-default" data-toggle="modal" data-target="#historyFeedback">查看</button></td>
                    </tr>
                    <tr>
                        <td>2016-11-12</td>
                        <td>辣椒换西红柿</td>
                        <td><button class="btn btn-default" data-toggle="modal" data-target="#historyFeedback">查看</button></td>
                    </tr>
                    <tr>
                        <td>2016-11-12</td>
                        <td>辣椒换西红柿</td>
                        <td><button class="btn btn-default" data-toggle="modal" data-target="#historyFeedback">查看</button></td>
                    </tr>
                    <tr>
                        <td>2016-11-12</td>
                        <td>辣椒换西红柿</td>
                        <td><button class="btn btn-default" data-toggle="modal" data-target="#historyFeedback">查看</button></td>
                    </tr>
                     -->
                </tbody>
            </table>
        
    </div>
    <div class="clearit"></div>
</div>